package com.mitaotao._1_语法._4_循环.双循环;

import java.util.Scanner;

public class _04_倒三角形 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入三角形的边长：");
        int bian = scanner.nextInt();

        for (int i=bian;i>0&&i<=5;i--){
            for (int j=1;j<=i;j++){
                System.out.print("*"+"\t");
            }
            System.out.println();
        }
        scanner.close();
    }
}
